#include <stdio.h>
#include <stdlib.h>
#include <time.h>

#include "AVLTree.hpp"

int main()
{
	zd::AVLTree<int> tree;
	srand(time(NULL));
	int i = 100;
	while (i--)
	{
		int x = rand();
		tree.Insert(x);
	}
	tree.Print();
	if (tree.IsBalance())
	{
		printf("true\n");
	}
	else
	{
		printf("false\n");
	}
	return 0;
}